Skip to main content

libURLSetSSLVerification

Type

command

Summary

Allows for server credential authentication.

Syntax

libURLSetSSLVerification {true|false}

Description

libURLSetSSLVerification sets whether or not the server credentials are authenticated. If libURLSetSSLVerification is set to true then the server credentials are authenticated. If libURLSetSSLVerification is set to false, then the server credentials are not authenticated and any connection is accepted.

Important

The libURLSetSSLVerification command is part of the Internet library on desktop platforms. To ensure that the command works in a desktop standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Internet" script library is selected.

Cross-platform note

On iOS and Android, libURLSetSSLVerification is implemented in the engine. Therefore the Internet library is not needed to ensure the command works in a mobile standalone application. If included, the Internet library implementation will be used instead of the engine implementation.

Cross-platform note

The Web engine will always verify server credentials.

Examples

libURLSetSSLVerification true
libURLSetSSLVerification false

glossary: main stack, handler, Standalone Application Settings, message, group, standalone application, keyword, command, application, LiveCode custom library

keyword: URL

library: Internet library, library

message: startup, openBackground, preOpenStack, openStack, preOpenCard

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?